body {
  font-family: $font-family-base;
  font-size: $font-size-base;
  color: #2F3032;
  background-color: #F4F7FD;
}

.body-white {
  background-color: #fff;
}

.body-grey {
  background-color: #EBEBEB;
}

a {
  color: $primary;

  &:hover, &:focus {
    color: $primary-dark;
  }
}

.palette {
  width: $container-width;
  margin: 0 auto 64px;
  padding: 40px 164px 50px;
  background-color: #fff;
  border-top: 6px solid $primary;

  &__title {
    margin: 0 96px 46px;
    padding-bottom: 27px;
    border-bottom: 2px solid #e4e4e4;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    color: $primary;
  }

  &__narrow {
    padding-left: 96px;
    padding-right: 96px;
  }
}

.linehead {
  position: relative;
  margin-bottom: $line-head-margin-bottom;
  padding-left: $line-head-line-gap;
  border-left: $line-head-line-width solid transparent;
  color: $line-head-color-base;

  > {
    h1, h2, h3, h4, h5, h6 {
      margin: 0;
      font-weight: 400;
      font-size: $line-head-font-size;
      line-height: $line-head-line-height;
    }
  }

  &:before {
    position: absolute;
    content: '';
    width: $line-head-line-width;
    height: $line-head-line-height;
    background-color: $line-head-line-bg-base;
    top: 0;
    left: -$line-head-line-width;
  }

  &--transparent:before {
    background-color: transparent;
  }

  &__sub {
    margin-top: $line-head-sub-margin-top;
    margin-bottom: 0;
    font-size: $line-head-sub-font-size;
    color: $line-head-sub-color-base;
  }
}

.main-container {
  width: $container-width;
  margin: auto;
  @include clearfix();
}
